package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医院管理对象 hospital
 * 
 * @author ruoyi
 * @date 2024-09-19
 */
public class Hospital extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String hospitalname;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区 */
    private String county;

    /** 医院等级 */
    @Excel(name = "医院等级")
    private String grade;

    /** 医院性质 */
    @Excel(name = "医院性质")
    private String characters;

    /** 医院地址 */
    @Excel(name = "医院地址")
    private String address;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHospitalname(String hospitalname) 
    {
        this.hospitalname = hospitalname;
    }

    public String getHospitalname() 
    {
        return hospitalname;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setCharacters(String characters)
    {
        this.characters = characters;
    }

    public String getCharacters()
    {
        return characters;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hospitalname", getHospitalname())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("grade", getGrade())
            .append("characters", getCharacters())
            .append("address", getAddress())
            .toString();
    }
}
